package com.iotp.dao.crop_type;

import com.iotp.entity.crop_type.CropType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CropTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CropType record);

    int insertSelective(CropType record);

    CropType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CropType record);

    int updateByPrimaryKey(CropType record);

    List<CropType> selectByCondition(CropType cropType);
}